/************************************************************************
 * This module define the Class Rudder
 * when you start your program,you must initial the rudder as the test
 * program write.The rudder is the abstract of the rudder you install on
 * you dash board.
 * The author:Zhang YongChang
 * The Date:2012-2-20
 * CopyRight @ robot loving team.
 ************************************************************************/

#ifndef RUDDER_H
#define RUDDER_H
#include "dashboard.h"

namespace robot {
class Rudder {
public:
	Rudder(int id, Dashboard &board);
	virtual ~Rudder();

	void rotate(int angle, int times);

private:
	int m_ID;
	Dashboard *p_board;
};
}

#endif

